import Vue from 'vue';
import App from './App.vue';
import router from './router/index';
import store from './store/index';
import ElementUI from 'element-ui';
import TagsSelectView from './components/tags-select-view/index.js';
import 'element-ui/lib/theme-chalk/index.css';

import './base-type-extend/index';
import './mixins/index';
import './icons';
import './styles/_base.scss';

Vue.use(ElementUI).use(TagsSelectView);

Vue.config.productionTip = false;

const $vm = new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app');

Object.defineProperties(Vue.prototype, {
    $vm: {
        value: $vm,
        configurable: false,
        writable: false
    }
});
